home *** CD-ROM | disk | FTP | other *** search
/ Gold Medal Software 3 / Gold Medal Software - Volume 3 (Gold Medal) (1994).iso / prog / ru04.arj / RASTPORT.DOC < prev    next >
Text File  |  1994-02-10  |  5KB  |  194 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.       ///////////                               //////////
  15.      ///      ///                       //     ///     ///                   //
  16.     ///////////    ///////  ///////  ///////  //////////   //////  ////// //////
  17.    ///    ///     //   //  //         //     ///          //  //  //       //
  18.   ///     ///    //   //  //////     //     ///          //  //  //       //
  19.  ///     ///    //   //      //     //     ///          //  //  //       //
  20. ///     ////   ////////  /////     //     ///          //////  //       //
  21.  
  22.  
  23.  
  24.  
  25.  
  26.                                RastPort v2.0
  27.                  (c) Copyright 1993 By Blueview Software.
  28.                             All Rights Reserved.
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38. 1.1  INTRODUCTION
  39.  
  40.      The RastPort is an image conversion program for programmers.  It allows
  41.    you to convert PCX files to a format useable by your compiler or graphics
  42.    library. The converted format (XGF) can be displayed with your compilers
  43.    PutImage function.
  44.  
  45.      With the RastPort you can create XGF files from 2 to 256 colors that an
  46.    be displayed in Turbo C, QuickC, Turbo Pascal, and QuickBASIC.  PCX files
  47.    can also be converted to SPR/PPR format used by the Fastgraph Library.  The
  48.    RastPort can also combine and convert individual files to build a resource
  49.    file.
  50.  
  51. 1.2  REQUIREMENTS
  52.  
  53.      Dos 3.1 or higher
  54.  
  55.  
  56. 1.3  CUSTOMER SERVICE
  57.  
  58.      If you have any questions, comments, or suggestions,
  59.      Blueview Software can be contacted by:
  60.  
  61.      Voice - (416) 757-7944
  62.  
  63.      BAUDEVILLE BBS (416) 283-0114  (Blueview Conference)
  64.      CAP/CANADA BBS (416) 287-0935  (Blueview Conference)
  65.      CAP/USA    BBS (708) 854-0255  (Blueview Conference)
  66.  
  67.      Shareware Conferences - RIME, INTELEC, NANET, CITY2CITY, FIDONET,
  68.                              and ILINK. Leave message to NICK ONOUFRIOU.
  69.  
  70.      CompuServe: >INTERNET:nick.onoufriou@rose.com
  71.  
  72.      Internet: nick.onoufriou@rose.com
  73.                nick.onoufriou@bville.gts.org
  74.  
  75.      Fido net-mail: 1:250/304
  76.  
  77.      Surface Mail  - Blueview Software
  78.                      2300 Lawrence Ave. East BOX 80551
  79.                      Scarborough, Ontario
  80.                      CANADA  M1P 2R0
  81.  
  82.      NOTE: All mail _will_ be answered. If you do not receive a reply
  83.            within a few days please try again, mail does get lost.
  84.  
  85.  
  86.  
  87. 2.1  USING RASTPORT
  88.  
  89.     RASTPORT infile outfile format     - To convert a single file
  90.     RASTPORT @filelist                 - To convert all the files in filelist
  91.     RASTPORT @reslist outfile res      - To convert and create a resource file
  92.  
  93.  
  94.  
  95.                                   Page 1
  96.  
  97.  
  98. 2.2  CONVERTING ONE FILE AT A TIME
  99.  
  100.     The <infile> must be a standard PCX file containing 2-256 colors.
  101.   The <outfile> will be either XGF,RAW,SPR, or PPR depending on the
  102.   selected format.
  103.  
  104.     The format must be TCx,TPx,QBx,PBx,QCx,SPR, or PPR.  The x must be
  105.   substituted for the amount of colors, values can be 2,4,16, and 256.
  106.  
  107.     TC16 would create an XGF file that can be displayed in the 16 color
  108.   modes using Turbo C. Use the supplied source code to display 16 and
  109.   256 color XGF files.
  110.  
  111.     SPR/PPR are standard pixel run formats used by the Fastgraph library, use
  112.   the xinfo.exe utility to determine the width and run count.
  113.  
  114.  
  115. 2.3  CONVERTING FILES USING A LIST
  116.  
  117.     Create a standard text file containing the input file, output file, and
  118.   format.  To convert the files in the listfile type RASTPORT @LISTFILE
  119.  
  120.   Sample LISTFILE
  121.  
  122.       FILE1.PCX FILE1.XGF TC16
  123.       FILE2.PCX FILE2.XGF TC256
  124.  
  125.  
  126. 2.4  CREATING RESOURCE FILES
  127.  
  128.     Create a standard text file containing the input file, resource id, and
  129.   format. The input file must be a PCX file in order to be converted to
  130.   another format.  The resource id is a 12 letter/number identifying that
  131.   file.  The format can be any of the formats listed above.  If you do not
  132.   wish to convert the input file to any format simply include the word
  133.   ADD where the format should be.
  134.  
  135.    To create the resource file type RASTPORT @RESLIST OUTFILE RES
  136.   The OUTFILE will be the resource file containing all the files in your
  137.   RESLIST.
  138.  
  139.   Sample RESLIST
  140.  
  141.       FILE1.PCX CAR TC16
  142.       FILE2.PCX BIRD TC256
  143.       FILE3.DAT DATA ADD
  144.  
  145.  
  146.  
  147.  
  148.  
  149.  
  150.  
  151.  
  152.                                 Page 2
  153.  
  154.  
  155. 2.5  REGISTERING
  156.  
  157.    The Rastport is NOT free software.  If you use this program you must pay
  158.  for it.  Registration entitles you to a key file that deactivates the nag
  159.  screens from the current and future versions.  The key file also enables
  160.  the 256 color option which is restricted in the unregistered version.
  161.  Registered  users also receive BONUS programs (see BONUS.TXT.) See ORDER.TXT
  162.  and CATALOG.TXT for more information.
  163.  
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.                                 Page 3
  193.  
  194.